﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head><link rel="stylesheet" href="${ctx}/common/common.css">
    <title></title>
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/style/admin.css" media="all">
    <script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>
    
    <style>
        .layui-body {
            overflow-y: scroll;
        }
    </style>
    <script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>
    
    <script src="${ctx}/common/plugins/publicJs/publicJs.js"></script>
</head>
 <style>
	.layui-add-title{
		background:url('${ctx}/common/imgs/u5145.png') no-repeat;
		width: 157px;
		height: 49px;
		line-height: 49px;
		color: #fff;
		border: none;
		
	}
	.layui-field-title{
		border: none;
		
	}
	.layui-text{
		color: #999999;
	}
	.layui-add-line{
		border-top: 2px solid #e7e7e7;
		height: 1px;
		margin: 10px 0px;
		padding: 0px;
	}
	.layui-timeline p{
		line-height: 25px;
		color: #747273;
		font-size: 15px;
	}

</style>
<body>
<div class="layui-row layui-col-space15">
<div class="layui-add-line"></div>
<fieldset class="layui-elem-field layui-field-title" style="margin:0px;">
	<legend class="layui-add-title">领料记录</legend>
	<span>加工单号:${worksheetCode}</span>
</fieldset>
<div class="layui-col-md12">
      <c:forEach items="${list}" var="info">
		<table class="layui-table">
              <colgroup>
                <col >
                <col >
                <col>
              </colgroup>
              <thead>
                <tr>
                  <th>领料单号:${info.collarCode}</th>
                  <th>领料人:${info.creatorName}</th>
                  <th colspan="2">领料日期:${info.collarCodeTime}</th>
                </tr> 
              </thead>
              <tbody>
             		 
	             <c:forEach items="${info.detailList}" var="d">
	             	<tr>
	                 <td>${d.mName}</td>
	                 <td>${d.quantity}*${d.specifications}/${d.unit}</td>
	                 <td>${d.wName}</td>
	                </tr>
				</c:forEach> 
	             
              </tbody>
            </table>
		 <br>
	    </c:forEach>						
		</div>
</div>

</body>
</html>


